﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class BeforePlay : MonoBehaviour {
    public InputField nickName;
    public void Play()
    {
        DataBase.Instance.NickName = nickName.text;
        SceneManager.LoadSceneAsync("Play");
    }
    public void LookRanking()
    {
        SceneManager.LoadSceneAsync("ScoreRanking");
    }
}
